# @Filename:    all_any
# @Author:      王佳伟
# @Time:        2025-02-05 17:17
# @Describe:    all()和any()

numbers = [1, 2, 3, 4, 5]
if all(num > 0 for num in numbers):
    print("All numbers are positive")
else:
    print("There are some non-positive numbers")

if any(num > 4 for num in numbers):
    print("At least one number is greater than 4")
else:
    print("No number is greater than 4")
